home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 719 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: news.microsoft.com!news
  2. From: a-cnadc@microsoft.com (Dann Corbit)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Algorithm - intersection of lines!
  5. Date: 8 Jan 1996 17:45:35 GMT
  6. Organization: Microsoft Corporation
  7. Message-ID: <4crl7v$bju@news.microsoft.com>
  8. References: <4bebi9$eik@news.infi.net> <e3f_9601030228@tor250.org>
  9. NNTP-Posting-Host: 157.57.171.202
  10. Mime-Version: 1.0
  11. X-Newsreader: WinVN 0.93.14
  12.  
  13. In article <e3f_9601030228@tor250.org>, Philip.Davis@fknights.gryn.org says...
  14. >
  15. > nn> Finding the intersection of lines is not trivial.
  16. >
  17. >But if you have the equations of the lines, can't you simply set the 
  18. >equations equal, and solve for x and y (which gives the point of 
  19. >intersection...)  just some grade 11 math which occurred to me.
  20.  
  21. Parralel?  Infinite or zero slope?  Not in the same plane?  
  22. Numerically parallel? Coincident?
  23. Not trivial.  An intersection routine can be fairly compact, but
  24. a good one will definitely require some careful thinking.
  25. -- 
  26. The opinions expressed in this message are my own personal views 
  27. and do not reflect the official views of Microsoft Corporation.
  28.  
  29.